const express = require("express");
var router = express.Router();
var userCtrl = require("../controllers/user.server.controller");

router.route("/user")
		.get(userCtrl.getUser)
		.post(userCtrl.addUser);

router.route("/user/logOut")
		.delete(userCtrl.logOut);
module.exports = router;